import os

def get_root_path():
    """
    获取项目根目录的绝对路径
    Returns
    -------

    """
    root_path = os.path.abspath(__file__).split('core')[0]
    return root_path